<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>丰巢科技 | 前端档案</title>
    <meta name="generator" content="VuePress 1.8.2">
    <link rel="icon" href="/favicon.ico">
    <meta name="description" content="前端通关宝典">
    <meta name="theme-color" content="#3eaf7c">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    
    <link rel="preload" href="/assets/css/0.styles.e02fc531.css" as="style"><link rel="preload" href="/assets/js/app.bf44e39b.js" as="script"><link rel="preload" href="/assets/js/2.db7a59af.js" as="script"><link rel="preload" href="/assets/js/60.9954df49.js" as="script"><link rel="prefetch" href="/assets/js/10.3bbe2f24.js"><link rel="prefetch" href="/assets/js/100.43061c81.js"><link rel="prefetch" href="/assets/js/101.2e8a188c.js"><link rel="prefetch" href="/assets/js/102.3f4f14f0.js"><link rel="prefetch" href="/assets/js/103.5ed45f48.js"><link rel="prefetch" href="/assets/js/104.29ef9283.js"><link rel="prefetch" href="/assets/js/105.e4051d70.js"><link rel="prefetch" href="/assets/js/106.ec073f00.js"><link rel="prefetch" href="/assets/js/107.9b165150.js"><link rel="prefetch" href="/assets/js/108.c0031864.js"><link rel="prefetch" href="/assets/js/109.06bb75a7.js"><link rel="prefetch" href="/assets/js/11.402e3434.js"><link rel="prefetch" href="/assets/js/110.edc92528.js"><link rel="prefetch" href="/assets/js/111.e50e0cca.js"><link rel="prefetch" href="/assets/js/112.b0decdf4.js"><link rel="prefetch" href="/assets/js/113.f0801886.js"><link rel="prefetch" href="/assets/js/114.25ab8fa4.js"><link rel="prefetch" href="/assets/js/115.36fc62f3.js"><link rel="prefetch" href="/assets/js/116.8df9a6aa.js"><link rel="prefetch" href="/assets/js/117.1ec0fada.js"><link rel="prefetch" href="/assets/js/118.51c54869.js"><link rel="prefetch" href="/assets/js/119.d708669d.js"><link rel="prefetch" href="/assets/js/12.eba9a66a.js"><link rel="prefetch" href="/assets/js/120.a44efeea.js"><link rel="prefetch" href="/assets/js/121.581a4ae4.js"><link rel="prefetch" href="/assets/js/122.e54e19e1.js"><link rel="prefetch" href="/assets/js/123.62aa41d0.js"><link rel="prefetch" href="/assets/js/124.c51c6b7f.js"><link rel="prefetch" href="/assets/js/125.68055811.js"><link rel="prefetch" href="/assets/js/126.8b16d246.js"><link rel="prefetch" href="/assets/js/127.fc7608d6.js"><link rel="prefetch" href="/assets/js/128.0df431fc.js"><link rel="prefetch" href="/assets/js/129.77241cfd.js"><link rel="prefetch" href="/assets/js/13.a3e65817.js"><link rel="prefetch" href="/assets/js/130.2bf0b622.js"><link rel="prefetch" href="/assets/js/131.77da1093.js"><link rel="prefetch" href="/assets/js/132.c1ac84bc.js"><link rel="prefetch" href="/assets/js/133.001af559.js"><link rel="prefetch" href="/assets/js/134.98ff69db.js"><link rel="prefetch" href="/assets/js/135.b91963f4.js"><link rel="prefetch" href="/assets/js/136.e3df531a.js"><link rel="prefetch" href="/assets/js/137.157c5a5f.js"><link rel="prefetch" href="/assets/js/138.1d3a1791.js"><link rel="prefetch" href="/assets/js/139.9e17df54.js"><link rel="prefetch" href="/assets/js/14.bd9cc5f8.js"><link rel="prefetch" href="/assets/js/140.22839840.js"><link rel="prefetch" href="/assets/js/141.dbde614d.js"><link rel="prefetch" href="/assets/js/142.5a6858ba.js"><link rel="prefetch" href="/assets/js/143.e26d707c.js"><link rel="prefetch" href="/assets/js/144.5b1fbe13.js"><link rel="prefetch" href="/assets/js/145.09921e20.js"><link rel="prefetch" href="/assets/js/146.8ea606b7.js"><link rel="prefetch" href="/assets/js/147.41bda9d5.js"><link rel="prefetch" href="/assets/js/148.d89f18bc.js"><link rel="prefetch" href="/assets/js/149.16aa39c9.js"><link rel="prefetch" href="/assets/js/15.deb2f25a.js"><link rel="prefetch" href="/assets/js/150.07798494.js"><link rel="prefetch" href="/assets/js/151.6732ee94.js"><link rel="prefetch" href="/assets/js/152.c644167e.js"><link rel="prefetch" href="/assets/js/153.040f256b.js"><link rel="prefetch" href="/assets/js/154.1cec3035.js"><link rel="prefetch" href="/assets/js/155.a4b51a17.js"><link rel="prefetch" href="/assets/js/156.095b78e0.js"><link rel="prefetch" href="/assets/js/157.eb262a26.js"><link rel="prefetch" href="/assets/js/158.35756e8c.js"><link rel="prefetch" href="/assets/js/159.6ac43664.js"><link rel="prefetch" href="/assets/js/16.c7b17381.js"><link rel="prefetch" href="/assets/js/160.0a56c40c.js"><link rel="prefetch" href="/assets/js/161.8320b48a.js"><link rel="prefetch" href="/assets/js/162.09ba1172.js"><link rel="prefetch" href="/assets/js/163.f7fb82e8.js"><link rel="prefetch" href="/assets/js/164.ab9df42b.js"><link rel="prefetch" href="/assets/js/165.f012858f.js"><link rel="prefetch" href="/assets/js/166.b3f190e3.js"><link rel="prefetch" href="/assets/js/167.43b66e59.js"><link rel="prefetch" href="/assets/js/168.4eb162d3.js"><link rel="prefetch" href="/assets/js/169.0375d2cf.js"><link rel="prefetch" href="/assets/js/17.da61c942.js"><link rel="prefetch" href="/assets/js/170.90c9c235.js"><link rel="prefetch" href="/assets/js/171.672fc257.js"><link rel="prefetch" href="/assets/js/172.dfa9d8d9.js"><link rel="prefetch" href="/assets/js/173.61a6ec8e.js"><link rel="prefetch" href="/assets/js/174.4f4ef0d7.js"><link rel="prefetch" href="/assets/js/175.675d01d1.js"><link rel="prefetch" href="/assets/js/176.5bd1bcb7.js"><link rel="prefetch" href="/assets/js/177.4355dadd.js"><link rel="prefetch" href="/assets/js/178.79ed29b8.js"><link rel="prefetch" href="/assets/js/179.2247dc30.js"><link rel="prefetch" href="/assets/js/18.6e554767.js"><link rel="prefetch" href="/assets/js/180.db79361a.js"><link rel="prefetch" href="/assets/js/181.85a33295.js"><link rel="prefetch" href="/assets/js/182.0bc317bc.js"><link rel="prefetch" href="/assets/js/183.7769a38e.js"><link rel="prefetch" href="/assets/js/184.9b0aba05.js"><link rel="prefetch" href="/assets/js/185.f6dc87bd.js"><link rel="prefetch" href="/assets/js/186.e3b7de00.js"><link rel="prefetch" href="/assets/js/187.a6dadcea.js"><link rel="prefetch" href="/assets/js/188.d3f8b0e3.js"><link rel="prefetch" href="/assets/js/189.1112499f.js"><link rel="prefetch" href="/assets/js/19.f800e0d1.js"><link rel="prefetch" href="/assets/js/190.e3255e84.js"><link rel="prefetch" href="/assets/js/191.34deece6.js"><link rel="prefetch" href="/assets/js/192.69821c0e.js"><link rel="prefetch" href="/assets/js/193.769a5088.js"><link rel="prefetch" href="/assets/js/194.afaa2cde.js"><link rel="prefetch" href="/assets/js/195.5b94bbc6.js"><link rel="prefetch" href="/assets/js/196.3b078264.js"><link rel="prefetch" href="/assets/js/197.2d9585d3.js"><link rel="prefetch" href="/assets/js/198.3095d8b8.js"><link rel="prefetch" href="/assets/js/199.79b6db11.js"><link rel="prefetch" href="/assets/js/20.4a74a968.js"><link rel="prefetch" href="/assets/js/200.c309ef7a.js"><link rel="prefetch" href="/assets/js/201.bded46e8.js"><link rel="prefetch" href="/assets/js/202.801fb3ea.js"><link rel="prefetch" href="/assets/js/203.b9933f5e.js"><link rel="prefetch" href="/assets/js/204.255b43df.js"><link rel="prefetch" href="/assets/js/205.000fb7ac.js"><link rel="prefetch" href="/assets/js/206.8f945829.js"><link rel="prefetch" href="/assets/js/207.74942b2e.js"><link rel="prefetch" href="/assets/js/208.329d8230.js"><link rel="prefetch" href="/assets/js/209.3fc54586.js"><link rel="prefetch" href="/assets/js/21.5f725cbd.js"><link rel="prefetch" href="/assets/js/210.1aa9659f.js"><link rel="prefetch" href="/assets/js/211.702df03f.js"><link rel="prefetch" href="/assets/js/212.ca95f208.js"><link rel="prefetch" href="/assets/js/213.024b4fa6.js"><link rel="prefetch" href="/assets/js/214.e2830dd8.js"><link rel="prefetch" href="/assets/js/215.0b646cb4.js"><link rel="prefetch" href="/assets/js/216.9bd6d019.js"><link rel="prefetch" href="/assets/js/217.586593b4.js"><link rel="prefetch" href="/assets/js/218.a2244829.js"><link rel="prefetch" href="/assets/js/219.1d858220.js"><link rel="prefetch" href="/assets/js/22.7d2b7a74.js"><link rel="prefetch" href="/assets/js/220.7f5e3dbd.js"><link rel="prefetch" href="/assets/js/221.d1f79d31.js"><link rel="prefetch" href="/assets/js/222.51d8a12c.js"><link rel="prefetch" href="/assets/js/223.797028ea.js"><link rel="prefetch" href="/assets/js/224.d925bf8b.js"><link rel="prefetch" href="/assets/js/225.cfe12606.js"><link rel="prefetch" href="/assets/js/226.b6bd41b4.js"><link rel="prefetch" href="/assets/js/227.15412d16.js"><link rel="prefetch" href="/assets/js/228.66af5157.js"><link rel="prefetch" href="/assets/js/229.cfb11559.js"><link rel="prefetch" href="/assets/js/23.1409c9f4.js"><link rel="prefetch" href="/assets/js/230.d2e613b5.js"><link rel="prefetch" href="/assets/js/231.85b8958b.js"><link rel="prefetch" href="/assets/js/232.42df48c8.js"><link rel="prefetch" href="/assets/js/233.d3be0c78.js"><link rel="prefetch" href="/assets/js/234.bb68d0be.js"><link rel="prefetch" href="/assets/js/235.bfd00052.js"><link rel="prefetch" href="/assets/js/236.3d58cc9d.js"><link rel="prefetch" href="/assets/js/237.d9af6062.js"><link rel="prefetch" href="/assets/js/238.54894974.js"><link rel="prefetch" href="/assets/js/239.b69669d0.js"><link rel="prefetch" href="/assets/js/24.e06b2b32.js"><link rel="prefetch" href="/assets/js/240.44f7b333.js"><link rel="prefetch" href="/assets/js/241.2d307b1a.js"><link rel="prefetch" href="/assets/js/242.47aecf42.js"><link rel="prefetch" href="/assets/js/243.b5afbb6e.js"><link rel="prefetch" href="/assets/js/244.8e04094f.js"><link rel="prefetch" href="/assets/js/245.78009475.js"><link rel="prefetch" href="/assets/js/246.eb7991c2.js"><link rel="prefetch" href="/assets/js/247.00c024fd.js"><link rel="prefetch" href="/assets/js/248.144c2842.js"><link rel="prefetch" href="/assets/js/249.35bae652.js"><link rel="prefetch" href="/assets/js/25.5e7aeaa8.js"><link rel="prefetch" href="/assets/js/250.854bde18.js"><link rel="prefetch" href="/assets/js/251.7cbb77f8.js"><link rel="prefetch" href="/assets/js/252.1ed96448.js"><link rel="prefetch" href="/assets/js/253.9d736b7d.js"><link rel="prefetch" href="/assets/js/254.137c6595.js"><link rel="prefetch" href="/assets/js/255.ac6865dc.js"><link rel="prefetch" href="/assets/js/256.055e06fd.js"><link rel="prefetch" href="/assets/js/257.63559614.js"><link rel="prefetch" href="/assets/js/258.b6958ba1.js"><link rel="prefetch" href="/assets/js/259.bc6da491.js"><link rel="prefetch" href="/assets/js/26.77d42111.js"><link rel="prefetch" href="/assets/js/260.a8e9559d.js"><link rel="prefetch" href="/assets/js/261.b051c6dd.js"><link rel="prefetch" href="/assets/js/262.e83c7ca8.js"><link rel="prefetch" href="/assets/js/263.bd14a165.js"><link rel="prefetch" href="/assets/js/264.65c3b624.js"><link rel="prefetch" href="/assets/js/265.db4371b9.js"><link rel="prefetch" href="/assets/js/266.97118d6c.js"><link rel="prefetch" href="/assets/js/267.de83cb0b.js"><link rel="prefetch" href="/assets/js/268.2bdd86cb.js"><link rel="prefetch" href="/assets/js/269.9c9a802f.js"><link rel="prefetch" href="/assets/js/27.fa37605f.js"><link rel="prefetch" href="/assets/js/270.f599f9fe.js"><link rel="prefetch" href="/assets/js/271.275d4619.js"><link rel="prefetch" href="/assets/js/272.ed0fabf6.js"><link rel="prefetch" href="/assets/js/273.fc279fbe.js"><link rel="prefetch" href="/assets/js/274.fe4b3d21.js"><link rel="prefetch" href="/assets/js/275.922677e1.js"><link rel="prefetch" href="/assets/js/276.597ceb81.js"><link rel="prefetch" href="/assets/js/277.71871d2e.js"><link rel="prefetch" href="/assets/js/278.10923657.js"><link rel="prefetch" href="/assets/js/279.cddbf2d7.js"><link rel="prefetch" href="/assets/js/28.7418a003.js"><link rel="prefetch" href="/assets/js/280.66542c64.js"><link rel="prefetch" href="/assets/js/281.c7ca5292.js"><link rel="prefetch" href="/assets/js/282.d105ef08.js"><link rel="prefetch" href="/assets/js/283.ae8d69c7.js"><link rel="prefetch" href="/assets/js/284.8763c337.js"><link rel="prefetch" href="/assets/js/285.cce4e007.js"><link rel="prefetch" href="/assets/js/29.42b5bf54.js"><link rel="prefetch" href="/assets/js/3.a2af090e.js"><link rel="prefetch" href="/assets/js/30.7fe0ece5.js"><link rel="prefetch" href="/assets/js/31.e05d012e.js"><link rel="prefetch" href="/assets/js/32.0a6466c6.js"><link rel="prefetch" href="/assets/js/33.8db270b1.js"><link rel="prefetch" href="/assets/js/34.c6e6ae70.js"><link rel="prefetch" href="/assets/js/35.8fc12d56.js"><link rel="prefetch" href="/assets/js/36.cb54baf3.js"><link rel="prefetch" href="/assets/js/37.656cb8eb.js"><link rel="prefetch" href="/assets/js/38.9152ff6b.js"><link rel="prefetch" href="/assets/js/39.f71e5e3d.js"><link rel="prefetch" href="/assets/js/4.02de3c47.js"><link rel="prefetch" href="/assets/js/40.3d664ab4.js"><link rel="prefetch" href="/assets/js/41.fc6e4f78.js"><link rel="prefetch" href="/assets/js/42.c17c3353.js"><link rel="prefetch" href="/assets/js/43.e78a329f.js"><link rel="prefetch" href="/assets/js/44.326a0948.js"><link rel="prefetch" href="/assets/js/45.67e6e1d4.js"><link rel="prefetch" href="/assets/js/46.85f71b1e.js"><link rel="prefetch" href="/assets/js/47.f2e524a6.js"><link rel="prefetch" href="/assets/js/48.843108ee.js"><link rel="prefetch" href="/assets/js/49.98713c95.js"><link rel="prefetch" href="/assets/js/5.f38c3daa.js"><link rel="prefetch" href="/assets/js/50.2c70898f.js"><link rel="prefetch" href="/assets/js/51.023fea5d.js"><link rel="prefetch" href="/assets/js/52.3877af4c.js"><link rel="prefetch" href="/assets/js/53.3938d117.js"><link rel="prefetch" href="/assets/js/54.4cf45721.js"><link rel="prefetch" href="/assets/js/55.6894de94.js"><link rel="prefetch" href="/assets/js/56.48fd0f63.js"><link rel="prefetch" href="/assets/js/57.2c3b8155.js"><link rel="prefetch" href="/assets/js/58.fee976b4.js"><link rel="prefetch" href="/assets/js/59.d57c3ac9.js"><link rel="prefetch" href="/assets/js/6.a7d50f34.js"><link rel="prefetch" href="/assets/js/61.1b870f60.js"><link rel="prefetch" href="/assets/js/62.37537ac3.js"><link rel="prefetch" href="/assets/js/63.5e7cfac8.js"><link rel="prefetch" href="/assets/js/64.407003ca.js"><link rel="prefetch" href="/assets/js/65.ba6c5d7d.js"><link rel="prefetch" href="/assets/js/66.2b5a751b.js"><link rel="prefetch" href="/assets/js/67.2faf15d0.js"><link rel="prefetch" href="/assets/js/68.19e50dcb.js"><link rel="prefetch" href="/assets/js/69.eec003cb.js"><link rel="prefetch" href="/assets/js/7.6c196c91.js"><link rel="prefetch" href="/assets/js/70.98d2461a.js"><link rel="prefetch" href="/assets/js/71.184225a4.js"><link rel="prefetch" href="/assets/js/72.956d136a.js"><link rel="prefetch" href="/assets/js/73.3e68378e.js"><link rel="prefetch" href="/assets/js/74.cec669e7.js"><link rel="prefetch" href="/assets/js/75.d418b5f0.js"><link rel="prefetch" href="/assets/js/76.f3f9ccd6.js"><link rel="prefetch" href="/assets/js/77.f24df03b.js"><link rel="prefetch" href="/assets/js/78.7eee67a8.js"><link rel="prefetch" href="/assets/js/79.8fadb3f7.js"><link rel="prefetch" href="/assets/js/8.b7eb2fb2.js"><link rel="prefetch" href="/assets/js/80.4f6165b0.js"><link rel="prefetch" href="/assets/js/81.49b03807.js"><link rel="prefetch" href="/assets/js/82.7ea07224.js"><link rel="prefetch" href="/assets/js/83.d6bd71b7.js"><link rel="prefetch" href="/assets/js/84.26db1aa8.js"><link rel="prefetch" href="/assets/js/85.c8f1f3bb.js"><link rel="prefetch" href="/assets/js/86.fd1c3c7f.js"><link rel="prefetch" href="/assets/js/87.38ab6ed9.js"><link rel="prefetch" href="/assets/js/88.f0a874e0.js"><link rel="prefetch" href="/assets/js/89.2b3352d4.js"><link rel="prefetch" href="/assets/js/9.d7ae4925.js"><link rel="prefetch" href="/assets/js/90.286cc7d4.js"><link rel="prefetch" href="/assets/js/91.c17c366b.js"><link rel="prefetch" href="/assets/js/92.29bc2389.js"><link rel="prefetch" href="/assets/js/93.6d335097.js"><link rel="prefetch" href="/assets/js/94.89ab26c7.js"><link rel="prefetch" href="/assets/js/95.f2493183.js"><link rel="prefetch" href="/assets/js/96.6662ec36.js"><link rel="prefetch" href="/assets/js/97.22c9d3f9.js"><link rel="prefetch" href="/assets/js/98.0b0b77a2.js"><link rel="prefetch" href="/assets/js/99.df5f5981.js">
    <link rel="stylesheet" href="/assets/css/0.styles.e02fc531.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/images/logo.png" alt="前端档案" class="logo"> <span class="site-name can-hide">前端档案</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/fe/" class="nav-link">
  前端
</a></div><div class="nav-item"><a href="/be/" class="nav-link">
  后端
</a></div><div class="nav-item"><a href="/base/" class="nav-link">
  基础
</a></div><div class="nav-item"><a href="/tools/" class="nav-link">
  工具
</a></div><div class="nav-item"><a href="/resume/" class="nav-link">
  简历
</a></div><div class="nav-item"><a href="/experience/" class="nav-link router-link-active">
  面经
</a></div><div class="nav-item"><a href="/technology/" class="nav-link">
  八股文
</a></div><div class="nav-item"><a href="/thinks/" class="nav-link">
  思考
</a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/fe/" class="nav-link">
  前端
</a></div><div class="nav-item"><a href="/be/" class="nav-link">
  后端
</a></div><div class="nav-item"><a href="/base/" class="nav-link">
  基础
</a></div><div class="nav-item"><a href="/tools/" class="nav-link">
  工具
</a></div><div class="nav-item"><a href="/resume/" class="nav-link">
  简历
</a></div><div class="nav-item"><a href="/experience/" class="nav-link router-link-active">
  面经
</a></div><div class="nav-item"><a href="/technology/" class="nav-link">
  八股文
</a></div><div class="nav-item"><a href="/thinks/" class="nav-link">
  思考
</a></div> <!----></nav>  <ul class="sidebar-links"><li><a href="/experience/" aria-current="page" class="sidebar-link">面经汇总</a></li><li><a href="/experience/baidu.html" class="sidebar-link">百度</a></li><li><a href="/experience/alibaba.html" class="sidebar-link">阿里</a></li><li><a href="/experience/tencent.html" class="sidebar-link">腾讯</a></li><li><a href="/experience/byte.html" class="sidebar-link">字节跳动</a></li><li><a href="/experience/jd.html" class="sidebar-link">京东</a></li><li><a href="/experience/didi.html" class="sidebar-link">滴滴</a></li><li><a href="/experience/fengchao.html" aria-current="page" class="active sidebar-link">丰巢科技</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/experience/fengchao.html#前言" class="sidebar-link">前言</a></li><li class="sidebar-sub-header"><a href="/experience/fengchao.html#一面" class="sidebar-link">一面</a></li><li class="sidebar-sub-header"><a href="/experience/fengchao.html#最后" class="sidebar-link">最后</a></li></ul></li><li><a href="/experience/kingsoft.html" class="sidebar-link">金山软件</a></li><li><a href="/experience/kuaishou.html" class="sidebar-link">快手</a></li><li><a href="/experience/kujiale.html" class="sidebar-link">酷家乐</a></li><li><a href="/experience/meituan.html" class="sidebar-link">美团</a></li><li><a href="/experience/pdd.html" class="sidebar-link">拼多多</a></li><li><a href="/experience/shopee.html" class="sidebar-link">虾皮</a></li><li><a href="/experience/toutiao.html" class="sidebar-link">头条</a></li><li><a href="/experience/tuzhan.html" class="sidebar-link">兔展</a></li><li><a href="/experience/wangyi.html" class="sidebar-link">网易</a></li><li><a href="/experience/youzan.html" class="sidebar-link">有赞</a></li><li><a href="/experience/yy.html" class="sidebar-link">YY</a></li><li><a href="/experience/codemao.html" class="sidebar-link">编程猫</a></li><li><a href="/experience/cvte.html" class="sidebar-link">CVTE</a></li><li><a href="/experience/others.html" class="sidebar-link">其他公司</a></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="丰巢科技"><a href="#丰巢科技" class="header-anchor">#</a> 丰巢科技</h1> <h2 id="前言"><a href="#前言" class="header-anchor">#</a> 前言</h2> <blockquote><p>本人毕业学校是双非二本，非计算机科班出身，大学时自学的前端相关技能。截止2021年8月，有3年前端开发经验，技术栈为 vue 全家桶，求职意向城市是深圳。想着找一个更大的平台寻求发展（技术沉淀、涨薪），所以出来接受社会的毒打了。。。</p></blockquote> <p>本文的目的是记录自己的面试经历，各位路过的兄dei也可以参考一下，也让自己有个回顾和反思。<strong>路漫漫其修远兮，吾将上下而求索</strong></p> <p>下面的题目，都会标明每一题的性质，部分题目也会给出一些参考思路和参考回答，希望各位大佬不吝赐教~</p> <ul><li>描述：对概念、过程的描述，纯理论性问答题为主</li> <li>举例：说出应用场景，或者是自己团队实践的情况</li> <li>伪代码：写代码，但不需要跑起来，甚至可以随便写伪代码，主要目的是描述思路</li> <li>编程：真正的写代码，需要跑起来，有测试用例，要看到效果</li></ul> <p>HR面的话，是一些日常、项目回顾（少说技术细节）、职业规划、你的优势和缺点、为什么跑路、为什么选择这边、目前薪资和职级、期望薪资，HR面基本离不开这些问题。</p> <h2 id="一面"><a href="#一面" class="header-anchor">#</a> 一面</h2> <h3 id="_1、说一个你印象最深刻的项目-遇到了什么问题-怎么解决的-有什么成果-【描述】"><a href="#_1、说一个你印象最深刻的项目-遇到了什么问题-怎么解决的-有什么成果-【描述】" class="header-anchor">#</a> 1、说一个你印象最深刻的项目？遇到了什么问题？怎么解决的？有什么成果？【描述】</h3> <h3 id="_2、有个长列表上万行-怎么做优化-【描述】"><a href="#_2、有个长列表上万行-怎么做优化-【描述】" class="header-anchor">#</a> 2、有个长列表上万行，怎么做优化？【描述】</h3> <p>懒加载或者虚拟滚动</p> <h3 id="_3、图片资源怎么做优化-【描述】【举例】"><a href="#_3、图片资源怎么做优化-【描述】【举例】" class="header-anchor">#</a> 3、图片资源怎么做优化？【描述】【举例】</h3> <p>压缩、雪碧图、svg、base64、iconfont</p> <p>首屏图片优先加载，等首屏图片加载完全后再去加载非首屏图片。
对大部分图片，特别是轮播广告中的图片进行按设备尺寸裁剪，减少图片体积，减少网络开销，加快下载速率。</p> <h3 id="_4、懒加载的话-如果异步请求返回很慢-1-3-秒-怎么优化-【描述】"><a href="#_4、懒加载的话-如果异步请求返回很慢-1-3-秒-怎么优化-【描述】" class="header-anchor">#</a> 4、懒加载的话，如果异步请求返回很慢 1-3 秒，怎么优化？【描述】</h3> <p>后端处理，缓存</p> <h3 id="_5、做过哪些-webpack-打包体积优化-具体怎么做怎么配置的-【描述】【举例】"><a href="#_5、做过哪些-webpack-打包体积优化-具体怎么做怎么配置的-【描述】【举例】" class="header-anchor">#</a> 5、做过哪些 webpack 打包体积优化？具体怎么做怎么配置的？【描述】【举例】</h3> <p>压缩代码
提取公共资源
tree-shaking
scope-hoisting
图片压缩
动态Polyfill</p> <h3 id="_6、你觉得-webpack-里面最难配置是哪些-【举例】"><a href="#_6、你觉得-webpack-里面最难配置是哪些-【举例】" class="header-anchor">#</a> 6、你觉得 webpack 里面最难配置是哪些？【举例】</h3> <p>多入口打包、loader配置、external、tree-shaking等说几个</p> <h3 id="_7、浏览器加载网页的主要步骤包括哪些-【描述】"><a href="#_7、浏览器加载网页的主要步骤包括哪些-【描述】" class="header-anchor">#</a> 7、浏览器加载网页的主要步骤包括哪些？【描述】</h3> <p>（1）通过DNS进行域名解析得到域名映射的IP地址
（2）向此IP地址发起TCP的3次握手，取得连接
（3）建立TCP连接后发起http请求
（4）服务器响应http请求，浏览器得到html代码
（5）浏览器解析html代码，并请求html代码中的资源（如 js、css、图片等）
（6）浏览器对页面进行渲染，最终呈现给用户</p> <h3 id="_8、浏览器对页面进行渲染-是怎么渲染的-dom-树和-cssom-树是怎么构建的-【描述】"><a href="#_8、浏览器对页面进行渲染-是怎么渲染的-dom-树和-cssom-树是怎么构建的-【描述】" class="header-anchor">#</a> 8、浏览器对页面进行渲染，是怎么渲染的？DOM 树和 CSSOM 树是怎么构建的？【描述】</h3> <p>渲染过程：
（1）构建DOM树，将浏览器无法直接理解和使用的HTML，转换为浏览器能够理解的结构--DOM 树。
（2）构建CSSOM，把 CSS 转换为浏览器能理解的结构(styleSheets)，并转换样式表中的属性值，使其标准化，计算出 DOM 树中每个节点的具体样式（根据继承规则和层叠规则）。
（3）创建 Layout 布局树，确定DOM 元素的几何位置信息，遍历 DOM 树中的所有可见节点，加入到布局树（display：none不包含），并计算布局树节点的坐标位置。
（4）构建图层树，如果页面有复杂的效果，如常见的页面滚动，或者使用 z 轴排序等，为了更加方便地实现这些效果，渲染引擎还需要为特定的节点生成专用的图层，并生成一棵对应的图层树（LayerTree）。
（5）Paint 图层绘制，把一个图层的绘制拆分成很多小的绘制指令，然后再把这些指令按照顺序组成一个待绘制列表（联想自己画画）。
（6）tiles：将图层转换成图块。
（7）光栅化：通过进程实现图块转换成位图。
（8）display：浏览器进程拿到 DrawQuad 信息生成页面显示。</p> <h3 id="_9、在html头部head-通过-link-外部引入一个样式文件-会阻塞渲染吗-【描述】"><a href="#_9、在html头部head-通过-link-外部引入一个样式文件-会阻塞渲染吗-【描述】" class="header-anchor">#</a> 9、在html头部head 通过 link 外部引入一个样式文件，会阻塞渲染吗？【描述】</h3> <p>css样式解析不会阻塞渲染</p> <h3 id="_10、cdn-加速原理是什么-它和外链引入js这种有什么区别-【描述】"><a href="#_10、cdn-加速原理是什么-它和外链引入js这种有什么区别-【描述】" class="header-anchor">#</a> 10、CDN 加速原理是什么？它和外链引入js这种有什么区别？【描述】</h3> <p>CDN 即内容分发网络。CDN 的基本原理是广泛采用各种缓存服务器，将这些缓存服务器分布到用户访问相对集中的地区或网络中，在用户访问网站时，利用全局负载技术将用户的访问指向距离最近的工作正常的缓存服务器上，由缓存服务器直接响应用户请求。</p> <p>CDN 的适用场景：
解决因分布、带宽、服务器性能带来的访问延迟问题,适用于网站站点/应用加速、点播、直播、视音频点播、大文件下载分发加速、移动应用加速等场景</p> <h3 id="_11、防抖和节流是什么-怎么实现-有哪些应用场景-【描述】【伪代码】"><a href="#_11、防抖和节流是什么-怎么实现-有哪些应用场景-【描述】【伪代码】" class="header-anchor">#</a> 11、防抖和节流是什么？怎么实现？有哪些应用场景？【描述】【伪代码】</h3> <p>常见问题</p> <h3 id="_12、vue-router-有几种模式-分别说下他们的实现原理-【描述】"><a href="#_12、vue-router-有几种模式-分别说下他们的实现原理-【描述】" class="header-anchor">#</a> 12、vue-router 有几种模式？分别说下他们的实现原理？【描述】</h3> <p>两种模式</p> <ul><li>hash模式：利用 window 的 hashchange 事件，监听到 hash 改变后拿到对应的路由组件，更新DOM</li> <li>history模式：利用 history.pushState 事件改变浏览器地址栏，以及 window 的 popstate 事件监听浏览器的前进后退事件，更新DOM</li></ul> <h3 id="_13、说下-vue-响应式原理【描述】"><a href="#_13、说下-vue-响应式原理【描述】" class="header-anchor">#</a> 13、说下 vue 响应式原理【描述】</h3> <h3 id="_14、说下-vue-都有哪些生命周期钩子函数-都在什么阶段触发的-【描述】"><a href="#_14、说下-vue-都有哪些生命周期钩子函数-都在什么阶段触发的-【描述】" class="header-anchor">#</a> 14、说下 vue 都有哪些生命周期钩子函数？都在什么阶段触发的？【描述】</h3> <h3 id="_15、vue-如果一个父组件嵌套了子组件-它们的加载顺序是什么-触发生命周期的顺序又是什么-【描述】"><a href="#_15、vue-如果一个父组件嵌套了子组件-它们的加载顺序是什么-触发生命周期的顺序又是什么-【描述】" class="header-anchor">#</a> 15、vue 如果一个父组件嵌套了子组件，它们的加载顺序是什么？触发生命周期的顺序又是什么？【描述】</h3> <p>先创建父组件，再创建子组件；先挂载子组件，再挂载父组件。</p> <h3 id="_16、说下-diff-算法的执行过程【描述】"><a href="#_16、说下-diff-算法的执行过程【描述】" class="header-anchor">#</a> 16、说下 Diff 算法的执行过程【描述】</h3> <p>DOM操作是很耗性能的，因此需要尽量减少DOM操作。找出本次DOM必须更新的节点来更新，其他的不更新，这个“找出”的过程，就需要diff算法。diff算法主要执行过程：</p> <p>patch(container, vnode) ，首次渲染，将 container 转为 vnode，并对比新旧 VNode 是否相同节点然后更新DOM
patch(vnode, newVnode) ，数据改变二次渲染，对比新旧 VNode 是否相同节点然后更新DOM
createElm(vnode, insertedVnodeQueue)，先执行用户的 init 钩子函数，然后把 vnode 转换成真实 DOM（此时没有渲染到页面），最后返回新创建的 DOM
updateChildren(elm, oldCh, ch, insertedVnodeQueue), 如果 VNode 有子节点，并且与旧VNode子节点不相同则执行 updateChildren()，比较子节点的差异并更新到DOM</p> <h3 id="_17、用过哪些es6的新特性【举例】"><a href="#_17、用过哪些es6的新特性【举例】" class="header-anchor">#</a> 17、用过哪些ES6的新特性【举例】</h3> <h3 id="_18、es6-的-map-有什么特性-可以设置重复的key吗-map-有顺序吗【描述】"><a href="#_18、es6-的-map-有什么特性-可以设置重复的key吗-map-有顺序吗【描述】" class="header-anchor">#</a> 18、ES6 的 Map 有什么特性？可以设置重复的key吗？Map 有顺序吗【描述】</h3> <p>Map最主要的特性就是可以设置任意数据类型的key。key不能重复，后续会覆盖之前的，有顺序。</p> <h3 id="_19、可以改变原数组的方法有哪些【举例】"><a href="#_19、可以改变原数组的方法有哪些【举例】" class="header-anchor">#</a> 19、可以改变原数组的方法有哪些【举例】</h3> <p>push, pop, unshift, shift, splice, sort, reverse</p> <h3 id="_20、怎么收集一个二维数组里的重复元素-【描述】"><a href="#_20、怎么收集一个二维数组里的重复元素-【描述】" class="header-anchor">#</a> 20、怎么收集一个二维数组里的重复元素？【描述】</h3> <p>先拍平数组，再遍历数组，判断当前元素的前后索引值，如果前后索引值不一样就是重复的</p> <h3 id="_21、怎么判断一个元素是否为数组-【描述】"><a href="#_21、怎么判断一个元素是否为数组-【描述】" class="header-anchor">#</a> 21、怎么判断一个元素是否为数组？【描述】</h3> <p>（1）Array.isArray() 方法
（2）arr instanceof Array
（3）Object.prototype.toString.call(obj) === '[object Array]'</p> <h3 id="_22、最近在学什么新技术-【描述】"><a href="#_22、最近在学什么新技术-【描述】" class="header-anchor">#</a> 22、最近在学什么新技术？【描述】</h3> <h3 id="_23、你近期的职业规划-有具体去做计划吗-你觉得怎样才算是一个高级开发-【描述】"><a href="#_23、你近期的职业规划-有具体去做计划吗-你觉得怎样才算是一个高级开发-【描述】" class="header-anchor">#</a> 23、你近期的职业规划？有具体去做计划吗？你觉得怎样才算是一个高级开发？【描述】</h3> <h3 id="_24、你有什么问题要问我的-【描述】"><a href="#_24、你有什么问题要问我的-【描述】" class="header-anchor">#</a> 24、你有什么问题要问我的？【描述】</h3> <h2 id="最后"><a href="#最后" class="header-anchor">#</a> 最后</h2> <p>深圳市丰巢网络技术有限公司，所处行业是物联网，物流平台，电商平台。这家一面是视频面试，面了大概一个小时，有些问题不记得了，感觉有几个问题没答好，面试一轮游，不管怎样，菜是原罪，继续加油吧~</p> <p><strong>天生我材必有用，千金散尽还复来</strong></p></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">更新时间:</span> <span class="time">9/26/2021, 9:43:05 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/experience/didi.html" class="prev">
        滴滴
      </a></span> <span class="next"><a href="/experience/kingsoft.html">
        金山软件
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"><!----></div></div>
    <script src="/assets/js/app.bf44e39b.js" defer></script><script src="/assets/js/2.db7a59af.js" defer></script><script src="/assets/js/60.9954df49.js" defer></script>
  </body>
</html>
